package cn.com.yto56.coresystem.logic.msg.mc.dao;

import cn.com.yto56.coresystem.common.msg.util.db.IPage;
import cn.com.yto56.coresystem.common.msg.util.db.QueryPage;
import cn.com.yto56.coresystem.logic.msg.mc.domain.ClientInfoBean;

/**
 * Created by wangrui on 2017/5/4.
 */
public interface IClientInfoDao {
    //add delete update search
    public IPage<ClientInfoBean> search(ClientInfoBean clientInfoBean, QueryPage queryPage);

    public boolean searchForUpdate(ClientInfoBean clientInfoBean);

    public int delete(ClientInfoBean clientInfoBean);

    public int update(ClientInfoBean set, ClientInfoBean where);

    public int add(ClientInfoBean clientInfoBean);
}
